package com.wish.g3.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wish
 * @since 2022-11-25
 */
@TableName("tb_cw_deal_per_day")
public class CwDealPerDay implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户id
     */
    private Long businessId;

    /**
     * 商户名称
     */
    private String businessName;

    /**
     * 1：线上无金融属性的  2：线上有金融属性的(如：租约保理) 3：线下(商户既有线上1，也有线下3，海链财务只有线上1,2) 
     */
    private Integer onlineFlg;

    /**
     * 统计日期(交易日期)
     */
    private LocalDate dealDate;

    /**
     * 操作类型,1：收入，2：支出
     */
    private Integer operationType;

    /**
     * 总计
     */
    private BigDecimal total;

    /**
     * 押金
     */
    private BigDecimal deposit;

    /**
     * 租金
     */
    private BigDecimal rent;

    /**
     * 电费
     */
    private BigDecimal electricityFee;

    /**
     * 水费
     */
    private BigDecimal waterFee;

    /**
     * 宽带费
     */
    private BigDecimal netFee;

    /**
     * 燃气费
     */
    private BigDecimal gasFee;

    /**
     * 有线电视费
     */
    private BigDecimal cableFee;

    /**
     * 商户充值金额(在海链财务报表中算作收入的一部分）
     */
    private BigDecimal czFee;

    /**
     * 其他
     */
    private BigDecimal otherFee;

    /**
     * 预留字段1
     */
    private BigDecimal reserve1;

    /**
     * 预留字段2
     */
    private Integer reserve2;

    /**
     * 预留字段3
     */
    private String reserve3;

    /**
     * 预留字段4
     */
    private String reserve4;

    /**
     * 预留字段5
     */
    private String reserve5;

    /**
     * 删除标识：0:未删除，1：删除
     */
    private Boolean delFlg;

    /**
     * 创建用户ID
     */
    private Long createUserid;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新用户ID
     */
    private byte[] updateUserid;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }
    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }
    public Integer getOnlineFlg() {
        return onlineFlg;
    }

    public void setOnlineFlg(Integer onlineFlg) {
        this.onlineFlg = onlineFlg;
    }
    public LocalDate getDealDate() {
        return dealDate;
    }

    public void setDealDate(LocalDate dealDate) {
        this.dealDate = dealDate;
    }
    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }
    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }
    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }
    public BigDecimal getRent() {
        return rent;
    }

    public void setRent(BigDecimal rent) {
        this.rent = rent;
    }
    public BigDecimal getElectricityFee() {
        return electricityFee;
    }

    public void setElectricityFee(BigDecimal electricityFee) {
        this.electricityFee = electricityFee;
    }
    public BigDecimal getWaterFee() {
        return waterFee;
    }

    public void setWaterFee(BigDecimal waterFee) {
        this.waterFee = waterFee;
    }
    public BigDecimal getNetFee() {
        return netFee;
    }

    public void setNetFee(BigDecimal netFee) {
        this.netFee = netFee;
    }
    public BigDecimal getGasFee() {
        return gasFee;
    }

    public void setGasFee(BigDecimal gasFee) {
        this.gasFee = gasFee;
    }
    public BigDecimal getCableFee() {
        return cableFee;
    }

    public void setCableFee(BigDecimal cableFee) {
        this.cableFee = cableFee;
    }
    public BigDecimal getCzFee() {
        return czFee;
    }

    public void setCzFee(BigDecimal czFee) {
        this.czFee = czFee;
    }
    public BigDecimal getOtherFee() {
        return otherFee;
    }

    public void setOtherFee(BigDecimal otherFee) {
        this.otherFee = otherFee;
    }
    public BigDecimal getReserve1() {
        return reserve1;
    }

    public void setReserve1(BigDecimal reserve1) {
        this.reserve1 = reserve1;
    }
    public Integer getReserve2() {
        return reserve2;
    }

    public void setReserve2(Integer reserve2) {
        this.reserve2 = reserve2;
    }
    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }
    public String getReserve4() {
        return reserve4;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4;
    }
    public String getReserve5() {
        return reserve5;
    }

    public void setReserve5(String reserve5) {
        this.reserve5 = reserve5;
    }
    public Boolean getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Boolean delFlg) {
        this.delFlg = delFlg;
    }
    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public byte[] getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(byte[] updateUserid) {
        this.updateUserid = updateUserid;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TbCwDealPerDay{" +
            "id=" + id +
            ", businessId=" + businessId +
            ", businessName=" + businessName +
            ", onlineFlg=" + onlineFlg +
            ", dealDate=" + dealDate +
            ", operationType=" + operationType +
            ", total=" + total +
            ", deposit=" + deposit +
            ", rent=" + rent +
            ", electricityFee=" + electricityFee +
            ", waterFee=" + waterFee +
            ", netFee=" + netFee +
            ", gasFee=" + gasFee +
            ", cableFee=" + cableFee +
            ", czFee=" + czFee +
            ", otherFee=" + otherFee +
            ", reserve1=" + reserve1 +
            ", reserve2=" + reserve2 +
            ", reserve3=" + reserve3 +
            ", reserve4=" + reserve4 +
            ", reserve5=" + reserve5 +
            ", delFlg=" + delFlg +
            ", createUserid=" + createUserid +
            ", createTime=" + createTime +
            ", updateUserid=" + updateUserid +
            ", updateTime=" + updateTime +
        "}";
    }
}
